package com.lly.pro.common;

import org.springframework.stereotype.Component;

/**
 * 响应状态码
 * @author Hommond
 * @date 2/22/2019
 */
@Component
public class ResponseStatusCodes {
    /**系统错误*/
    public static final int SYSTEM_ERROR = 99999;
    /**success*/
    public static final int SUCCESS = 10000;
    /**缺少参数*/
    public static final int MISSING_PARAMETERS = 10001;
    /**账号或密码错误*/
    public static final int USERNAME_OR_PASSWORD_EEROR = 11001;
    /**验证码错误*/
    public static final int VERIFICATION_CODE_ERROR = 11002;
    /**密码过期*/
    public static final int PASSWORD_EXPIRED = 11003;
    /**用户未激活*/
    public static final int USER_INACTIVATED = 11004;
    /**密码不合法*/
    public static final int ILLEGAL_PASSWORD = 11005;
    /**新旧密码相同*/
    public static final int PASSWORD_REPETITION = 11006;
    /**新密码与重复密码不同*/
    public static final int NPASSWORD_DIFFERENT = 11007;
    /**密码错误多次*/
    public static final int MULTIPLE_WRONG_PASSWORD = 11008;
    /**用户被锁定*/
    public static final int USER_LOCKED = 11009;
    /**用户未登录*/
    public static final int NOT_LOGGED_IN = 11010;
    /**identity不存在*/
    public static final int IDENTITY_NON_EXISTENT = 11011;
    /**新建用户失败*/
    public static final int ADD_USER_ERROR = 11012;
    /**用户不存在*/
    public static final int USER_NON_EXISTENT = 11012;

}
